package com.szzg10.jsp.chapter10;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class ClassicTagTest1 extends TagSupport {

	@Override
	public int doStartTag() throws JspException {
		
		JspWriter jspWriter = pageContext.getOut();
		
		try {
			jspWriter.println("classic tag output");
		}
		catch(IOException e) {
			throw new JspException("IOException-" + e.toString());
		}
		
		return SKIP_BODY;
	}
}
